package edu.sctu.fengleilin.month05.day150527;

import java.util.Scanner;

/**
 * Created by user09 on 2015/5/27.
 */
public class Dish {

    private String dishesName;
    private int    dishesPrice;

    Scanner scan = new Scanner(System.in);
    public String getDishesName() {
        return dishesName;
    }

    public void setDishesName(String dishesName) {
        this.dishesName = dishesName;
    }

    public int getDishesPrice() {
        return dishesPrice;
    }

    public void setDishesPrice(int dishesPrice) {
        this.dishesPrice = dishesPrice;
    }
    public String input(){
        System.out.println("请输入您想选择的菜肴：");
        String dish = scan.next();
        return dish;
    }
}
